Returns the <imsss:ruleConditions>/conditionCombination attribute value.
Parent Type: SequencingRuleNodeReader
Namespace: Microsoft.LearningComponents.Manifest
Assembly: Microsoft.LearningComponents.dll
| C# |
|
public SequencingConditionCombination Combination { get; } |
| Exception type | Condition |
| InvalidPackageException | Thrown in |
There should be only one <imsss:ruleConditions> node. If there is more than one, in ManifestReaderSettings.FixScormRequirementViolations=true, a warning is issued to the log and the first one is returned. In ManifestReaderSettings.FixScormRequirementViolations=false an error is issued to the log and an InvalidPackageException is thrown.
In ManifestReaderSettings.FixScormRequirementViolations=true if there is an invalid token for the conditionCombination attribute, the default value of SequencingConditionCombination.All is returned.
SequencingConditionCombination.All is returned in both ManifestReaderSettings.FixScormRequirementViolations=true and ManifestReaderSettings.FixScormRequirementViolations=false if there is no <imsss:ruleConditions> node.